package com.luojie.service;

import com.luojie.dto.OrderSubmitDto;
import com.luojie.dto.OrdersPaymentDTO;
import com.luojie.vo.OrderPaymentVO;
import com.luojie.vo.OrderSubmitVo;

public interface OrdersService {
    /**
     * 用户下单
     * @param orderSubmitDto
     * @return
     */
    OrderSubmitVo submitOrder(OrderSubmitDto orderSubmitDto);

    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO)throws Exception;

    void paySuccess(String outTradeNo);

    void userCancelById(Long id,OrderSubmitDto orderSubmitDto);
}
